package com.changgou.goods;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 商品微服务service
 */
@SpringBootApplication
@EnableEurekaClient //eureka客户端
//扫描映射
@MapperScan(basePackages = {"com.changgou.goods.dao"})
@ComponentScan(basePackages = "com.changgou")
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class,args);
    }
}
